package day214;

import java.util.concurrent.LinkedTransferQueue;

public class KeWai {
    public static void main(String[] args) {
        /*
        //输出1-5
        for(int a=1;a<=5;a++){
            System.out.println(a);
        }

        for(int a=1;a<=10;a++){
            System.out.println(a);
        }
         */
        int sum=0;
        for(int i=1;i<=100;i++){
            sum=sum+i;
        }
        System.out.println(sum);






    }
}
